<#list modulesTable as module>
<ol class="dd-list">
    <#if moduleId?? && moduleId == module.moduleId!''>
    <li class="dd-item dd3-item dd-field dd-active" data-id="5">
    <#else>
    <li class="dd-item dd3-item dd-field" data-id="5">
    </#if>
    <div class="dd3-content">${module.moduleName!''}
        <input type="hidden" value="${module.moduleId!''}" name="id"/>
        <input type="hidden" value="${module.moduleName!''}" name="moduleName"/>
    </div>
    <#if module.childrenModuleList??>
        <#assign modulesTable=module.childrenModuleList/>
        <#include "moduleTree.ftl"/>
    </#if>
</li>
</ol>
</#list>
